/*
* This file is a part of the open-eBackup project.
* This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
* If a copy of the MPL was not distributed with this file, You can obtain one at
* http://mozilla.org/MPL/2.0/.
*
* Copyright (c) [2024] Huawei Technologies Co.,Ltd.
*
* THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
* EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
* MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
*/
#include "ShowVolumeRequest.h"

namespace HcsPlugin {
ShowVolumeRequest::ShowVolumeRequest() {}

ShowVolumeRequest::~ShowVolumeRequest() {}

Scope ShowVolumeRequest::GetScopeType() const
{
    return Scope::PROJECT;
}

ApiType ShowVolumeRequest::GetApiType()
{
    return ApiType::EVS;
}

std::string ShowVolumeRequest::GetVolumeId() const
{
    return m_volumeId;
}

void ShowVolumeRequest::SetVolumeId(const std::string& value)
{
    m_volumeId = value;
}

Scope ShowVolumeListRequest::GetScopeType() const
{
    return Scope::PROJECT;
}

ApiType ShowVolumeListRequest::GetApiType()
{
    return ApiType::EVS;
}

int32_t ShowVolumeListRequest::GetVolumeOffSet() const
{
    return m_offset;
}
void ShowVolumeListRequest::SetVolumeOffset(int32_t offset)
{
    m_offset = offset;
    m_offstIsSet = true;
}
bool ShowVolumeListRequest::GetVolumeOffsetIsSet() const
{
    return m_offstIsSet;
}
int32_t ShowVolumeListRequest::GetVolumeLimit() const
{
    return m_limit;
}
void ShowVolumeListRequest::SetVolumeLimit(int32_t limit)
{
    m_limit = limit;
    m_limitIsSet = true;
}
bool ShowVolumeListRequest::GetVolumeLimitIsSet() const
{
    return m_limitIsSet;
}

std::string ShowVolumeListRequest::GetVolumeStatus() const
{
    return m_status;
}
void ShowVolumeListRequest::SetVolumeStatus(const std::string& status)
{
    m_status = status;
    m_statusIsSet = true;
}
bool ShowVolumeListRequest::GetVolumeStatusIsSet() const
{
    return m_statusIsSet;
}
}